package com.swjd;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Date;

/**
 * @author 刘涛
 * @create 2021/10/9 12:17
 */
@TableName("t_user")
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String truename;
    private String cardid;
    private String email;
    private String telephone;
    private String pwd;
    private Date regtime;

    @Override
    public String toString() {
        return "pojo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", truename='" + truename + '\'' +
                ", cardid='" + cardid + '\'' +
                ", email='" + email + '\'' +
                ", telephone='" + telephone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", regtime=" + regtime +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getTruename() {
        return truename;
    }

    public String getCardid() {
        return cardid;
    }

    public String getEmail() {
        return email;
    }

    public String getTelephone() {
        return telephone;
    }

    public String getPwd() {
        return pwd;
    }

    public Date getRegtime() {
        return regtime;
    }
}
